//
//  DBManager.h
//  LoaginAndRegist
//
//  Created by lanou3g on 16/4/26.
//  Copyright © 2016年 liman. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LMHomeListModel.h"



@interface DBManager : NSObject
- (void)openDB;

//收藏
- (void)collectDetailModel:(LMHomeListModel *)dModel html:(NSString *)htmlStr;
//取消收藏
- (void)cancelCollectArticle:(NSString *)connentID;
//单利方法
+ (instancetype)shareManager;
///查询所有收藏内容
- (NSArray *)selectAllCollect;

///判断是否收藏
- (BOOL) hasCollect:(NSString *)contentID;
@end
